<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>emp-toolkit: /Users/wangxiao/git/emp-toolkit/emp-tool/utils/utils_ec.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-full-doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">emp-toolkit
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('utils__ec_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">utils_ec.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;relic/relic.h&gt;</code><br />
<code>#include &quot;<a class="el" href="utils_2block_8h_source.html">block.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="hash_8h_source.html">hash.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="utils__ec_8hpp_source.html">utils_ec.hpp</a>&quot;</code><br />
</div>
<p><a href="utils__ec_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af693362576a030d027a217a609106008"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#af693362576a030d027a217a609106008">ECC_PACK</a>&#160;&#160;&#160;false</td></tr>
<tr class="separator:af693362576a030d027a217a609106008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c3815a8647e6c0fd8e19b2107f2e4fd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a1c3815a8647e6c0fd8e19b2107f2e4fd">BIT_LEN</a>&#160;&#160;&#160;128</td></tr>
<tr class="separator:a1c3815a8647e6c0fd8e19b2107f2e4fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ab140a6106405e8b0f0eccf4e1b113"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a68ab140a6106405e8b0f0eccf4e1b113">EB_SIZE</a>&#160;&#160;&#160;65</td></tr>
<tr class="separator:a68ab140a6106405e8b0f0eccf4e1b113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad36cbdf5b483e6cee6b95d7ad6adfbff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#ad36cbdf5b483e6cee6b95d7ad6adfbff">__batch</a>(func, ...)</td></tr>
<tr class="separator:ad36cbdf5b483e6cee6b95d7ad6adfbff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adad3129fffb7029d84a90dd993eb272d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#adad3129fffb7029d84a90dd993eb272d">__batch2</a>(func)</td></tr>
<tr class="separator:adad3129fffb7029d84a90dd993eb272d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7294001caef3ac81942d0e7c4415973c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a7294001caef3ac81942d0e7c4415973c">__batch3</a>(func)</td></tr>
<tr class="separator:a7294001caef3ac81942d0e7c4415973c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:afcde481e82d4efeed62b66b9f12ccbd9"><td class="memItemLeft" align="right" valign="top">typedef eb_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#afcde481e82d4efeed62b66b9f12ccbd9">eb_tpl</a>[2]</td></tr>
<tr class="separator:afcde481e82d4efeed62b66b9f12ccbd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09cbcd1b9548176fce4883fa31bbd17f"><td class="memItemLeft" align="right" valign="top">typedef bn_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a09cbcd1b9548176fce4883fa31bbd17f">bn_tpl</a>[2]</td></tr>
<tr class="separator:a09cbcd1b9548176fce4883fa31bbd17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab896e1d685b6b248f9613e3dd542fb0a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#ab896e1d685b6b248f9613e3dd542fb0a">__batch</a> (eb_new)</td></tr>
<tr class="separator:ab896e1d685b6b248f9613e3dd542fb0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5503f46a742b967db4311f05733133ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a5503f46a742b967db4311f05733133ef">__batch</a> (eb_free)</td></tr>
<tr class="separator:a5503f46a742b967db4311f05733133ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a898ec26b918dc449b5191ac2eca275dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a898ec26b918dc449b5191ac2eca275dc">__batch</a> (bn_new)</td></tr>
<tr class="separator:a898ec26b918dc449b5191ac2eca275dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f86daf748cefae31bf63e5b22667487"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a9f86daf748cefae31bf63e5b22667487">__batch</a> (bn_free)</td></tr>
<tr class="separator:a9f86daf748cefae31bf63e5b22667487"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a271ed88e63db36007958ef61ecac7e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a8a271ed88e63db36007958ef61ecac7e">__batch2</a> (eb_mul)</td></tr>
<tr class="separator:a8a271ed88e63db36007958ef61ecac7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a594e62622a1fcc083f7acc44de9eff5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a594e62622a1fcc083f7acc44de9eff5b">__batch2</a> (eb_mul_fix)</td></tr>
<tr class="separator:a594e62622a1fcc083f7acc44de9eff5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a329e10625ed3583c53b4f898f7ef5e8e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a329e10625ed3583c53b4f898f7ef5e8e">__batch2</a> (eb_sub)</td></tr>
<tr class="separator:a329e10625ed3583c53b4f898f7ef5e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc9d21a574cd4216c3594e42f02bacca"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#abc9d21a574cd4216c3594e42f02bacca">__batch2</a> (eb_add)</td></tr>
<tr class="separator:abc9d21a574cd4216c3594e42f02bacca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af245e8595494407e53eb131495231b91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#af245e8595494407e53eb131495231b91">__batch3</a> (bn_mul)</td></tr>
<tr class="separator:af245e8595494407e53eb131495231b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ff58c2a223ad95dcadb1fd184fc76af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a6ff58c2a223ad95dcadb1fd184fc76af">__batch3</a> (bn_sub)</td></tr>
<tr class="separator:a6ff58c2a223ad95dcadb1fd184fc76af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e414f3c12c64ae2c94290ef13630d93"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a4e414f3c12c64ae2c94290ef13630d93">__batch3</a> (bn_add)</td></tr>
<tr class="separator:a4e414f3c12c64ae2c94290ef13630d93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed7eb78162c7568c1884dffe014c37e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a8ed7eb78162c7568c1884dffe014c37e">bn_to_block</a> (<a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *b, const bn_t bn)</td></tr>
<tr class="separator:a8ed7eb78162c7568c1884dffe014c37e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40171df044fc78651ebe5f1aa9e9fa60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a40171df044fc78651ebe5f1aa9e9fa60">block_to_bn</a> (bn_t bn, const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *b)</td></tr>
<tr class="separator:a40171df044fc78651ebe5f1aa9e9fa60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a782fdb3f06e7f49116d014d4a583b19f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#a782fdb3f06e7f49116d014d4a583b19f">initialize_relic</a> ()</td></tr>
<tr class="separator:a782fdb3f06e7f49116d014d4a583b19f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5e3f2827ebda785cd770866307cc26d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils__ec_8h.html#ae5e3f2827ebda785cd770866307cc26d">KDF</a> (eb_t in)</td></tr>
<tr class="separator:ae5e3f2827ebda785cd770866307cc26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ad36cbdf5b483e6cee6b95d7ad6adfbff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad36cbdf5b483e6cee6b95d7ad6adfbff">&sect;&nbsp;</a></span>__batch</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __batch</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span> &lt;<span class="keyword">typename</span> H, <span class="keyword">typename</span>... T&gt; <span class="keywordtype">void</span> func##l(H p, T... t) {\</div><div class="line">        func(p,##__VA_ARGS__);\</div><div class="line">        func##l(t...);\</div><div class="line">    }\</div><div class="line">    template &lt;typename H&gt; <span class="keywordtype">void</span> func##l(H p) {\</div><div class="line">        func(p,##__VA_ARGS__);\</div><div class="line">    }</div></div><!-- fragment -->
</div>
</div>
<a id="adad3129fffb7029d84a90dd993eb272d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adad3129fffb7029d84a90dd993eb272d">&sect;&nbsp;</a></span>__batch2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __batch2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span> &lt;<span class="keyword">typename</span> H1, <span class="keyword">typename</span> H2, <span class="keyword">typename</span> H3&gt; <span class="keywordtype">void</span> func##_norm(H1 h1, H2 h2, H3 h3) {\</div><div class="line">    func(h1, h2, h3);\</div><div class="line">    eb_norm(h1, h1);\</div><div class="line">}\</div></div><!-- fragment -->
</div>
</div>
<a id="a7294001caef3ac81942d0e7c4415973c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7294001caef3ac81942d0e7c4415973c">&sect;&nbsp;</a></span>__batch3</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __batch3</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span> &lt;<span class="keyword">typename</span> H1, <span class="keyword">typename</span> H2, <span class="keyword">typename</span> H3, <span class="keyword">typename</span> H4&gt; <span class="keywordtype">void</span> func##_mod(H1 h1, H2 h2, H3 h3, H4 h4) {\</div><div class="line">    func(h1, h2, h3);\</div><div class="line">    bn_mod(h1, h1, h4);\</div><div class="line">}\</div></div><!-- fragment -->
</div>
</div>
<a id="a1c3815a8647e6c0fd8e19b2107f2e4fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c3815a8647e6c0fd8e19b2107f2e4fd">&sect;&nbsp;</a></span>BIT_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BIT_LEN&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a68ab140a6106405e8b0f0eccf4e1b113"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68ab140a6106405e8b0f0eccf4e1b113">&sect;&nbsp;</a></span>EB_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EB_SIZE&#160;&#160;&#160;65</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af693362576a030d027a217a609106008"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af693362576a030d027a217a609106008">&sect;&nbsp;</a></span>ECC_PACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECC_PACK&#160;&#160;&#160;false</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a09cbcd1b9548176fce4883fa31bbd17f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09cbcd1b9548176fce4883fa31bbd17f">&sect;&nbsp;</a></span>bn_tpl</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef bn_t bn_tpl[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afcde481e82d4efeed62b66b9f12ccbd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcde481e82d4efeed62b66b9f12ccbd9">&sect;&nbsp;</a></span>eb_tpl</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef eb_t eb_tpl[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ab896e1d685b6b248f9613e3dd542fb0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab896e1d685b6b248f9613e3dd542fb0a">&sect;&nbsp;</a></span>__batch() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch </td>
          <td>(</td>
          <td class="paramtype">eb_new&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5503f46a742b967db4311f05733133ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5503f46a742b967db4311f05733133ef">&sect;&nbsp;</a></span>__batch() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch </td>
          <td>(</td>
          <td class="paramtype">eb_free&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a898ec26b918dc449b5191ac2eca275dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a898ec26b918dc449b5191ac2eca275dc">&sect;&nbsp;</a></span>__batch() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch </td>
          <td>(</td>
          <td class="paramtype">bn_new&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9f86daf748cefae31bf63e5b22667487"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f86daf748cefae31bf63e5b22667487">&sect;&nbsp;</a></span>__batch() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch </td>
          <td>(</td>
          <td class="paramtype">bn_free&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8a271ed88e63db36007958ef61ecac7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a271ed88e63db36007958ef61ecac7e">&sect;&nbsp;</a></span>__batch2() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch2 </td>
          <td>(</td>
          <td class="paramtype">eb_mul&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a594e62622a1fcc083f7acc44de9eff5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a594e62622a1fcc083f7acc44de9eff5b">&sect;&nbsp;</a></span>__batch2() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch2 </td>
          <td>(</td>
          <td class="paramtype">eb_mul_fix&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a329e10625ed3583c53b4f898f7ef5e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a329e10625ed3583c53b4f898f7ef5e8e">&sect;&nbsp;</a></span>__batch2() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch2 </td>
          <td>(</td>
          <td class="paramtype">eb_sub&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abc9d21a574cd4216c3594e42f02bacca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc9d21a574cd4216c3594e42f02bacca">&sect;&nbsp;</a></span>__batch2() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch2 </td>
          <td>(</td>
          <td class="paramtype">eb_add&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af245e8595494407e53eb131495231b91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af245e8595494407e53eb131495231b91">&sect;&nbsp;</a></span>__batch3() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch3 </td>
          <td>(</td>
          <td class="paramtype">bn_mul&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6ff58c2a223ad95dcadb1fd184fc76af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ff58c2a223ad95dcadb1fd184fc76af">&sect;&nbsp;</a></span>__batch3() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch3 </td>
          <td>(</td>
          <td class="paramtype">bn_sub&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4e414f3c12c64ae2c94290ef13630d93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e414f3c12c64ae2c94290ef13630d93">&sect;&nbsp;</a></span>__batch3() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__batch3 </td>
          <td>(</td>
          <td class="paramtype">bn_add&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a40171df044fc78651ebe5f1aa9e9fa60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40171df044fc78651ebe5f1aa9e9fa60">&sect;&nbsp;</a></span>block_to_bn()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void block_to_bn </td>
          <td>(</td>
          <td class="paramtype">bn_t&#160;</td>
          <td class="paramname"><em>bn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8ed7eb78162c7568c1884dffe014c37e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ed7eb78162c7568c1884dffe014c37e">&sect;&nbsp;</a></span>bn_to_block()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void bn_to_block </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bn_t&#160;</td>
          <td class="paramname"><em>bn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a782fdb3f06e7f49116d014d4a583b19f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a782fdb3f06e7f49116d014d4a583b19f">&sect;&nbsp;</a></span>initialize_relic()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void initialize_relic </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae5e3f2827ebda785cd770866307cc26d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5e3f2827ebda785cd770866307cc26d">&sect;&nbsp;</a></span>KDF()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> KDF </td>
          <td>(</td>
          <td class="paramtype">eb_t&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_eec959d81771dc8b1a750b834e1341eb.html">emp-tool</a></li><li class="navelem"><a class="el" href="dir_363cbed62d1567d90b8cbb6bda69428f.html">utils</a></li><li class="navelem"><a class="el" href="utils__ec_8h.html">utils_ec.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
